package lab01.Text11;

public class PrimeNumber {
    public static void main(String[] args) {
        int i=0;
        int j = 0;
        int count = -1;
        for(i =2;i <=100;i++)
        {
            j = 2;
        }
        while (i % j != 0) {
            j++;
        }
        if (j == i) {
            count++;
            if (count % 5 == 0) {
                System.out.println("");
            }
            System.out.print(i + "    ");

        }
    }
    }